#include "stdafx.h"
/*
#ifndef _SoundPlayer_h_
#define _SoundPlayer_h_


#include <fmod.hpp>
#include <fmod_errors.h>
#include <map>
#include <fmod_event.hpp>


class SoundPlayer
{
public:
	static SoundPlayer* getInstance();
	static void destroyInstance();
	void play2dSound(const char *soundName);
	void createSound(const char *path, const char *soundName);
	void unloadSound(std::string soundName);
	void update();
	void changeMusicParameter(unsigned int paramId, float paramValue);
	void activateCue(unsigned int cueId);
	void deactivateCue(unsigned int cueId);
	void quickCue(unsigned int cueId);
	void activateEvent(unsigned int eventId);
	void deactivateEvent(unsigned int eventId);
	void changeEventParameter(unsigned int eventId, const char* paramName, float paramValue);


protected:

private:
	SoundPlayer();
	~SoundPlayer();
	int initialize();
	void errcheck(FMOD_RESULT result);
	
	static SoundPlayer *theInstance;
	FMOD::EventSystem	*m_system;
	FMOD::MusicSystem* m_musicSystem;

    FMOD_RESULT       m_result;
    unsigned int      m_version;

	//std::map<char*, FMOD::Sound*> dictionary;
	std::map<int, FMOD::MusicPrompt*>* m_promptMap;
	std::map<int, FMOD::Event*>* m_eventMap;

};
#endif //_SoundPlayer_h_

*/